<?php
session_start();

require_once './core/tools.php';
require_once "./core/template.php";

if (!isConfigured()) {
	echo getErrorPage(6);
}
else {
	
	if(isset($_SESSION["logged"]) && $_SESSION["logged"] == true){
		include "listing.php";
	}
	else {
		include "log.php";
	}
}


?>